#!usr/bin/env python  
# -*- coding:utf-8 _*-
""" 
@author:robot
@file: window_file.py 
@version:
@time: 2022/01/13 
"""
import os


def mkdir(path):
    os.mkdir(path)


def mkpythonfile(path, args):
    with open(path, 'w') as f:
        f.write(f'''#!usr/bin/env python
# -*- coding:utf-8 _*-
""" 
@author:robot
@file: {args}
@version:
@time: 2022/01/13 
"""
                ''')


def mkfile(path):
    with open(path, 'w') as f:
        f.write('{}')


def removedirs(path):
    os.removedirs(path)


def remove_files(path):
    os.remove(path)


def read(path):
    print(os.walk(path))
    print(os.listdir(path))
